import {flag,sum} from "./aaa.js";

import {num1,num3} from "./aaa.js";

import {nul} from "./aaa.js";


import {Person} from "./aaa.js";

if (flag) {
  console.log("xiaoming是天才");
  console.log(sum(20, 30));
  console.log(num1);
  console.log(num3);
  console.log(nul(num1, num3));

}


const p = new Person();
p.run()


//默认导入
import addr from "./aaa.js"

addr('你好啊' );

//统一全部导入

import * as aaa from "./aaa.js"

console.log(aaa.flag);